projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52abeaf
)
* src/lread.c (bytecode_from_rev_list): Fix assertion failure
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 4 Feb 2024 18:51:13 +0000
(13:51 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 4 Feb 2024 18:51:13 +0000
(13:51 -0500)
The assertion failure was raised at lread.c:411 during the
`lread-invalid-bytecodes` test in `test/src/lread-tests.el`.
I suspect we could remove the assertion instead.
src/lread.c
patch
|
blob
|
history
diff --git
a/src/lread.c
b/src/lread.c
index b1b109315f9a87dcce352b8c9fe691d10bb978fd..b5eeb55bb705d36aad274464aefb7fbfc8b2a8aa 100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-3496,7
+3496,7
@@
bytecode_from_rev_list (Lisp_Object elems, Lisp_Object readcharfun)
Lisp_Object *vec = XVECTOR (obj)->contents;
ptrdiff_t size = ASIZE (obj);
- if (size >= COMPILED_CONSTANTS)
+ if (
infile &&
size >= COMPILED_CONSTANTS)
{
/* Always read 'lazily-loaded' bytecode (generated by the
`byte-compile-dynamic' feature prior to Emacs 30) eagerly, to